<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>libnetconf: src/messages.h Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../libnetconf-logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">libnetconf
   &#160;<span id="projectnumber">0.5.99</span>
   </div>
   <div id="projectbrief">NETCONF Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="../../modules.html"><span>Modules</span></a></li>
      <li><a href="../../annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>File&#160;List</span></a></li>
      <li><a href="../../globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('d5/d48/messages_8h_source.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">messages.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="../../d5/d48/messages_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#ifndef MESSAGES_H_</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define MESSAGES_H_</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#include &lt;time.h&gt;</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="../../d3/d7a/netconf_8h.html" title="libnetconf&#39;s general public functions and structures definitions.">netconf.h</a>&quot;</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="../../da/d41/error_8h.html" title="NETCONF error handling functions.">error.h</a>&quot;</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="keyword">struct </span>nc_filter *<a class="code" href="../../db/de9/group__rpc.html#ga599c715b0aee0f1f2ed231ce1d78e5bd" title="Create a new NETCONF filter of the specified type.">nc_filter_new</a>(<a class="code" href="../../db/de9/group__rpc.html#ga9e74498f9118686c7fb8dfe2c2459706" title="Enumeration of supported NETCONF filter types.">NC_FILTER_TYPE</a> type, ...);</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../db/de9/group__rpc.html#ga0dbfd598d6fd303819817370cdf63229" title="Destroy the filter structure.">nc_filter_free</a>(<span class="keyword">struct</span> nc_filter *filter);</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="keywordtype">char</span>* <a class="code" href="../../d0/de2/group__reply.html#ga279c8b48bfdf590c15a043b7d385dfb8" title="Dump the rpc-reply message into a string.">nc_reply_dump</a> (<span class="keyword">const</span> <a class="code" href="../../d0/de2/group__reply.html#ga40338a1274759a932a7c2c7b8ed0121d" title="reply message.">nc_reply</a> *reply);</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *<a class="code" href="../../db/de9/group__rpc.html#gadab3d916540f79dd2b168134758fe3d1" title="Duplicate &lt;rpc&gt; message.">nc_rpc_dup</a>(<span class="keyword">const</span> <a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a>* rpc);</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<a class="code" href="../../d0/de2/group__reply.html#ga40338a1274759a932a7c2c7b8ed0121d" title="reply message.">nc_reply</a> *<a class="code" href="../../d0/de2/group__reply.html#gaeb66eff28fdf195f564cb3d997d65b65" title="Duplicate &lt;reply&gt; message.">nc_reply_dup</a>(<span class="keyword">const</span> <a class="code" href="../../d0/de2/group__reply.html#ga40338a1274759a932a7c2c7b8ed0121d" title="reply message.">nc_reply</a>* reply);</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<a class="code" href="../../d0/de2/group__reply.html#ga40338a1274759a932a7c2c7b8ed0121d" title="reply message.">nc_reply</a>* <a class="code" href="../../d0/de2/group__reply.html#ga78b032942cee08721d51ea97acff68b5" title="Build &lt;rpc-reply&gt; message from the string. This is the reverse function of the nc_reply_dump().">nc_reply_build</a> (<span class="keyword">const</span> <span class="keywordtype">char</span>* reply_dump);</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;<span class="keyword">const</span> <a class="code" href="../../db/d52/group__session.html#ga85043314eec3f4f8c53234d9af1f2d41" title="Type representing NETCONF message-id attribute.">nc_msgid</a> <a class="code" href="../../d0/de2/group__reply.html#gad6ed5b3e0b7d8fbeb81e80bc0a326d6c" title="Get message-id of the given rpc-reply.">nc_reply_get_msgid</a>(<span class="keyword">const</span> <a class="code" href="../../d0/de2/group__reply.html#ga40338a1274759a932a7c2c7b8ed0121d" title="reply message.">nc_reply</a> *reply);</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="keywordtype">char</span>* <a class="code" href="../../db/de9/group__rpc.html#ga3e840368c40be2ea4d5201edbd3adaca" title="Dump the rpc message into a string.">nc_rpc_dump</a> (<span class="keyword">const</span> <a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *rpc);</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a>* <a class="code" href="../../db/de9/group__rpc.html#ga5c4348c96b0d5e6a64f94dbbdeaf4100" title="Build &lt;rpc&gt; message from the string. This is the reverse function of the nc_rpc_dump().">nc_rpc_build</a> (<span class="keyword">const</span> <span class="keywordtype">char</span>* rpc_dump, <span class="keyword">const</span> <span class="keyword">struct</span> nc_session* session);</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="keyword">const</span> <a class="code" href="../../db/d52/group__session.html#ga85043314eec3f4f8c53234d9af1f2d41" title="Type representing NETCONF message-id attribute.">nc_msgid</a> <a class="code" href="../../db/de9/group__rpc.html#gabc7eb11a4f2fdbe302a2430e00935c48" title="Get message-id of the given rpc.">nc_rpc_get_msgid</a>(<span class="keyword">const</span> <a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *rpc);</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;<a class="code" href="../../db/de9/group__rpc.html#ga3e6fc59e2d06c1c0edb36ee64ee9cc07" title="Enumeration of supported &lt;rpc&gt; operations.">NC_OP</a> <a class="code" href="../../db/de9/group__rpc.html#gabf639574395456fb6f4bade36fb4babd" title="Get operation of the given rpc.">nc_rpc_get_op</a>(<span class="keyword">const</span> <a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *rpc);</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="keywordtype">char</span> * <a class="code" href="../../db/de9/group__rpc.html#ga9796f2bc7841265d478891974eb610c6" title="Get operation name of the given rpc.">nc_rpc_get_op_name</a> (<span class="keyword">const</span> <a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a>* rpc);</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="keywordtype">char</span>* <a class="code" href="../../db/de9/group__rpc.html#gade3f111e7c7727d512313b4875fd8f50" title="Get content of the operation specification from the given rpc.">nc_rpc_get_op_content</a>(<span class="keyword">const</span> <a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *rpc);</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;<a class="code" href="../../db/de9/group__rpc.html#ga4088fac1dd592062b27ff5b0e1708d00" title="Enumeration of &lt;rpc&gt; operation types.">NC_RPC_TYPE</a> <a class="code" href="../../db/de9/group__rpc.html#gaa502fb30575000775b29a764101c1bef" title="Get type of the rpc message.">nc_rpc_get_type</a>(<span class="keyword">const</span> <a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *rpc);</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;<a class="code" href="../../db/d67/group__store.html#ga5e4b9ee138b963e8ea2354fef2ebbe73" title="Enumeration of the supported types of datastores defined by NETCONF.">NC_DATASTORE</a> <a class="code" href="../../db/de9/group__rpc.html#gab240067d45d58c945cdfd61948751379" title="Get the target datastore type (running, startup, candidate) of the rpc request.">nc_rpc_get_target</a>(<span class="keyword">const</span> <a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *rpc);</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;<a class="code" href="../../db/d67/group__store.html#ga5e4b9ee138b963e8ea2354fef2ebbe73" title="Enumeration of the supported types of datastores defined by NETCONF.">NC_DATASTORE</a> <a class="code" href="../../db/de9/group__rpc.html#ga3fcf5083b04a294e935a2897c212065b" title="Get the source datastore type (running, startup, candidate) of the rpc request.">nc_rpc_get_source</a>(<span class="keyword">const</span> <a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *rpc);</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;<span class="keywordtype">char</span> * <a class="code" href="../../db/de9/group__rpc.html#ga05a10e0b6c89ac04426410f399b87257" title="Get serialized content of the config parameter (&lt;config&gt; itself is not a part of the returned data)...">nc_rpc_get_config</a> (<span class="keyword">const</span> <a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *rpc);</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;<a class="code" href="../../db/de9/group__rpc.html#ga5852fd110198481afb37cc8dcf0bf454" title="Enumeration of edit-config&#39;s &lt;default-operation&gt; element values.">NC_EDIT_DEFOP_TYPE</a> <a class="code" href="../../db/de9/group__rpc.html#gaf867eacee93e3596371415d028e62d29" title="Get default-operation type, valid only for &lt;edit-config&gt; RPCs.">nc_rpc_get_defop</a> (<span class="keyword">const</span> <a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *rpc);</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;<a class="code" href="../../db/de9/group__rpc.html#ga8eb32ba579043f2750fa8558d9284b32" title="Enumeration of edit-config&#39;s &lt;error-option&gt; element values.">NC_EDIT_ERROPT_TYPE</a> <a class="code" href="../../db/de9/group__rpc.html#ga488f894b9fa4866326837a9ed0575e36" title="Get error-option type, valid only for &lt;edit-config&gt; RPCs.">nc_rpc_get_erropt</a> (<span class="keyword">const</span> <a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *rpc);</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;<a class="code" href="../../db/de9/group__rpc.html#gaca86efe74fc9a26cc30e33a8e9772579" title="Enumeration of edit-config&#39;s &lt;test-option&gt; element values.">NC_EDIT_TESTOPT_TYPE</a> <a class="code" href="../../db/de9/group__rpc.html#gab12fec9068d72fa6817f4a59a81e625e" title="Get test-option type, valid only for &lt;edit-config&gt; RPCs supporting :validate:1.1 capability.">nc_rpc_get_testopt</a> (<span class="keyword">const</span> <a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *rpc);</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;<span class="keyword">struct </span>nc_filter * <a class="code" href="../../db/de9/group__rpc.html#ga05705bba8345c15637bc54cf6b9a4b3d" title="Get filter from &lt;get&gt; or &lt;get-config&gt; RPC.">nc_rpc_get_filter</a> (<span class="keyword">const</span> <a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> * rpc);</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;<a class="code" href="../../d0/de2/group__reply.html#gad31ee5df47d5671ebdf1b06f785e6c29" title="Enumeration of &lt;rpc-reply&gt; types.">NC_REPLY_TYPE</a> <a class="code" href="../../d0/de2/group__reply.html#gab12cdef82337060c425348dada7fe983" title="Get the type of the rpc-reply message.">nc_reply_get_type</a>(<span class="keyword">const</span> <a class="code" href="../../d0/de2/group__reply.html#ga40338a1274759a932a7c2c7b8ed0121d" title="reply message.">nc_reply</a> *reply);</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;</div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;<span class="keywordtype">char</span> *<a class="code" href="../../d0/de2/group__reply.html#gaac62fb3d427985311cf71a2c3ab8d424" title="Get content of the &lt;data&gt; element in &lt;rpc-reply&gt;.">nc_reply_get_data</a>(<span class="keyword">const</span> <a class="code" href="../../d0/de2/group__reply.html#ga40338a1274759a932a7c2c7b8ed0121d" title="reply message.">nc_reply</a> *reply);</div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="../../d0/de2/group__reply.html#ga121d66d8f7437d87a995b82187e7e7ff" title="Get error-message from the server&#39;s &lt;rpc-error&gt; reply.">nc_reply_get_errormsg</a>(<span class="keyword">const</span> <a class="code" href="../../d0/de2/group__reply.html#ga40338a1274759a932a7c2c7b8ed0121d" title="reply message.">nc_reply</a> *reply);</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../db/de9/group__rpc.html#ga4041bda37caa9eedb7a1e2534280f3df" title="Free rpc message.">nc_rpc_free</a>(<a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *rpc);</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;<span class="keywordtype">void</span> <a class="code" href="../../d0/de2/group__reply.html#ga17aa9f38d7b75dec1a57b478b0b39710" title="Free reply message.">nc_reply_free</a>(<a class="code" href="../../d0/de2/group__reply.html#ga40338a1274759a932a7c2c7b8ed0121d" title="reply message.">nc_reply</a> *reply);</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;<a class="code" href="../../d0/de2/group__reply.html#ga40338a1274759a932a7c2c7b8ed0121d" title="reply message.">nc_reply</a> *<a class="code" href="../../d0/de2/group__reply.html#ga4789f8372e5f2676236ddb0e6eeb8bb4" title="Create &lt;ok&gt; rpc-reply response.">nc_reply_ok</a>();</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;</div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;<a class="code" href="../../d0/de2/group__reply.html#ga40338a1274759a932a7c2c7b8ed0121d" title="reply message.">nc_reply</a> *<a class="code" href="../../d0/de2/group__reply.html#ga4543351c89208bb06fa895be334d59ad" title="Create rpc-reply response with &lt;data&gt; content.">nc_reply_data</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* data);</div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;</div>
<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;<a class="code" href="../../d0/de2/group__reply.html#ga40338a1274759a932a7c2c7b8ed0121d" title="reply message.">nc_reply</a> *<a class="code" href="../../d0/de2/group__reply.html#ga12fd89263289491b84398279e0e449fd" title="Create rpc-reply response with &lt;rpc-error&gt; content.">nc_reply_error</a>(<span class="keyword">struct</span> nc_err* error);</div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;</div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;<span class="keywordtype">int</span> <a class="code" href="../../d0/de2/group__reply.html#gafb04a6695650d05a07b571ac1410a681" title="Add another error description into the existing rpc-reply with &lt;rpc-error&gt; content.">nc_reply_error_add</a>(<a class="code" href="../../d0/de2/group__reply.html#ga40338a1274759a932a7c2c7b8ed0121d" title="reply message.">nc_reply</a> *reply, <span class="keyword">struct</span> nc_err* error);</div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;</div>
<div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;<a class="code" href="../../d0/de2/group__reply.html#ga40338a1274759a932a7c2c7b8ed0121d" title="reply message.">nc_reply</a>* <a class="code" href="../../d0/de2/group__reply.html#gab1f7b7f9be8153758e5b047fe70fd48d" title="Merge reply messages. All messages MUST be of the same type.">nc_reply_merge</a> (<span class="keywordtype">int</span> count, ...);</div>
<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;</div>
<div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;</div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;<a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *<a class="code" href="../../db/de9/group__rpc.html#gaf7b76c1243dc218cf1dc8b17876e319c" title="Create &lt;copy-config&gt; NETCONF rpc message.">nc_rpc_copyconfig</a>(<a class="code" href="../../db/d67/group__store.html#ga5e4b9ee138b963e8ea2354fef2ebbe73" title="Enumeration of the supported types of datastores defined by NETCONF.">NC_DATASTORE</a> source, <a class="code" href="../../db/d67/group__store.html#ga5e4b9ee138b963e8ea2354fef2ebbe73" title="Enumeration of the supported types of datastores defined by NETCONF.">NC_DATASTORE</a> target, ...);</div>
<div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;</div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;<a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *<a class="code" href="../../db/de9/group__rpc.html#gae1faa46f5048f21dc580d44836d848e8" title="Create &lt;delete-config&gt; NETCONF rpc message.">nc_rpc_deleteconfig</a>(<a class="code" href="../../db/d67/group__store.html#ga5e4b9ee138b963e8ea2354fef2ebbe73" title="Enumeration of the supported types of datastores defined by NETCONF.">NC_DATASTORE</a> target, ...);</div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;</div>
<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;<a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *<a class="code" href="../../db/de9/group__rpc.html#gae704e312c7aa5e6385abd4989e79398c" title="Create &lt;edit-config&gt; NETCONF rpc message.">nc_rpc_editconfig</a>(<a class="code" href="../../db/d67/group__store.html#ga5e4b9ee138b963e8ea2354fef2ebbe73" title="Enumeration of the supported types of datastores defined by NETCONF.">NC_DATASTORE</a> target, <a class="code" href="../../db/d67/group__store.html#ga5e4b9ee138b963e8ea2354fef2ebbe73" title="Enumeration of the supported types of datastores defined by NETCONF.">NC_DATASTORE</a> source, <a class="code" href="../../db/de9/group__rpc.html#ga5852fd110198481afb37cc8dcf0bf454" title="Enumeration of edit-config&#39;s &lt;default-operation&gt; element values.">NC_EDIT_DEFOP_TYPE</a> default_operation, <a class="code" href="../../db/de9/group__rpc.html#ga8eb32ba579043f2750fa8558d9284b32" title="Enumeration of edit-config&#39;s &lt;error-option&gt; element values.">NC_EDIT_ERROPT_TYPE</a> error_option, <a class="code" href="../../db/de9/group__rpc.html#gaca86efe74fc9a26cc30e33a8e9772579" title="Enumeration of edit-config&#39;s &lt;test-option&gt; element values.">NC_EDIT_TESTOPT_TYPE</a> test_option, ...);</div>
<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;</div>
<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;<a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *<a class="code" href="../../db/de9/group__rpc.html#ga6818afbecf7fedf78f620162de78b4fd" title="Create &lt;get&gt; NETCONF rpc message.">nc_rpc_get</a>(<span class="keyword">const</span> <span class="keyword">struct</span> nc_filter *filter);</div>
<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;</div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;<a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *<a class="code" href="../../db/de9/group__rpc.html#ga4ae747c4c96e1d3621745e122091ba11" title="Create &lt;get-config&gt; NETCONF rpc message.">nc_rpc_getconfig</a>(<a class="code" href="../../db/d67/group__store.html#ga5e4b9ee138b963e8ea2354fef2ebbe73" title="Enumeration of the supported types of datastores defined by NETCONF.">NC_DATASTORE</a> source, <span class="keyword">const</span> <span class="keyword">struct</span> nc_filter *filter);</div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;</div>
<div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;<a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *<a class="code" href="../../db/de9/group__rpc.html#gae9876e8d038eb81a376bd82a08c58b95" title="Create &lt;kill-session&gt; NETCONF rpc message.">nc_rpc_killsession</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *kill_sid);</div>
<div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;</div>
<div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;<a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *<a class="code" href="../../db/de9/group__rpc.html#ga6a03d40e00fbe019a34541a55f3f4a31" title="Create &lt;lock&gt; NETCONF rpc message.">nc_rpc_lock</a>(<a class="code" href="../../db/d67/group__store.html#ga5e4b9ee138b963e8ea2354fef2ebbe73" title="Enumeration of the supported types of datastores defined by NETCONF.">NC_DATASTORE</a> target);</div>
<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;</div>
<div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;<a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *<a class="code" href="../../db/de9/group__rpc.html#gad843551f9d1ff8be6a118d026e8b995a" title="Create &lt;unlock&gt; NETCONF rpc message.">nc_rpc_unlock</a>(<a class="code" href="../../db/d67/group__store.html#ga5e4b9ee138b963e8ea2354fef2ebbe73" title="Enumeration of the supported types of datastores defined by NETCONF.">NC_DATASTORE</a> target);</div>
<div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;</div>
<div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;<a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> * <a class="code" href="../../db/de9/group__rpc.html#ga14fa1c78362457a646d5d820206d5158" title="Create &lt;validate&gt; NETCONF rpc message.">nc_rpc_validate</a>(<a class="code" href="../../db/d67/group__store.html#ga5e4b9ee138b963e8ea2354fef2ebbe73" title="Enumeration of the supported types of datastores defined by NETCONF.">NC_DATASTORE</a> source, ...);</div>
<div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;</div>
<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;<a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *<a class="code" href="../../da/d54/group__notifications.html#gafda56cbfe02d24877d0740618aa2de98" title="Create &lt;create-subsciption&gt; NETCONF rpc message.">nc_rpc_subscribe</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* stream, <span class="keyword">const</span> <span class="keyword">struct</span> nc_filter *filter, <span class="keyword">const</span> time_t* start, <span class="keyword">const</span> time_t* stop);</div>
<div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;</div>
<div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;<a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *<a class="code" href="../../db/de9/group__rpc.html#ga7977ca8b562643607b3c846ed36bbb23" title="Create &lt;commit&gt; NETCONF rpc message.">nc_rpc_commit</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;</div>
<div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;<a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *<a class="code" href="../../db/de9/group__rpc.html#ga337ea7a9b006a79ee5ea615e9d9a5a6f" title="Create &lt;discard-changes&gt; NETCONF rpc message.">nc_rpc_discardchanges</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;</div>
<div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;<a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *<a class="code" href="../../db/de9/group__rpc.html#ga3b762dd881622eaa72b08c9b58d76a5e" title="Create &lt;get-schema&gt; NETCONF rpc message (RFC 6022).">nc_rpc_getschema</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keyword">const</span> <span class="keywordtype">char</span>* version, <span class="keyword">const</span> <span class="keywordtype">char</span>* format);</div>
<div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;</div>
<div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160;<a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a> *<a class="code" href="../../db/de9/group__rpc.html#gaa9ad7fac41fdef0063c2e2793fb19efd" title="Create a generic NETCONF rpc message with the specified content.">nc_rpc_generic</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* data);</div>
<div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160;</div>
<div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160;<span class="keywordtype">int</span> <a class="code" href="../../db/de9/group__rpc.html#ga14f5e170cbc9acd9a146eee2fb6b796f" title="Set the attribute of the given &lt;rpc&gt; which is specific for some NETCONF capability.">nc_rpc_capability_attr</a>(<a class="code" href="../../db/de9/group__rpc.html#gab21d1d39737065c552f2ccc5b4819262" title="rpc message.">nc_rpc</a>* rpc, <a class="code" href="../../db/de9/group__rpc.html#ga06a2c29efc74abd4d0c88e7abb5e914d" title="RPC attributes list.">NC_CAP_ATTR</a> attr, ...);</div>
<div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;</div>
<div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;<span class="preprocessor"></span>}</div>
<div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00584"></a><span class="lineno">  584</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* MESSAGES_H_ */</span><span class="preprocessor"></span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="../../d5/d48/messages_8h.html">messages.h</a></li>
    <li class="footer">Generated on Fri Jun 21 2013 14:17:42 for libnetconf by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.3.1 </li>
  </ul>
</div>
</body>
</html>
